package com.hqyj.javaGraduation.hotel.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hqyj.javaGraduation.common.MyPage;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * 订单
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class HotelMaterialsBill extends MyPage implements Serializable {
    @TableId(value = "bill_id", type = IdType.AUTO)
    //订单id
    private int billId;
    //原材料id
    private int matId;
    //原材料
    private String matName;
    //原材料数量
    private int matNumber;
    //原材料价格
    private int matPrice;
    //订单时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date billTime;
    //供应商
    private String supplierName;
    //订单类型
    private String billType;
}
